package designpattern.decorator;

public class Main {
    public static void main(String[] args) {
        Decorator decorator = new ConcreteDecorator2(new ConcreteDecorator1(new ConcreteComponent()));
        decorator.doSomething();
    }
}
